﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

/// <summary>
/// 团长信息
/// </summary>
namespace KwaiXiaoDian.Entity.DO
{
	[Table("t_group_leader")]
	public partial class TGroupLeader
	{
		public TGroupLeader()
		{ }

		/// <summary>
		/// id
		/// </summary>
		[Key] 
		[Column("id")]
		public long Id { get; set; }
	
		/// <summary>
		/// created_time
		/// </summary>
		[Column("created_time")]
		public DateTime CreatedTime { get; set; }
	
		/// <summary>
		/// created_by
		/// </summary>
		[Column("created_by")]
		public long CreatedBy { get; set; }
	
		/// <summary>
		/// last_updated_time
		/// </summary>
		[Column("last_updated_time")]
		public DateTime? LastUpdatedTime { get; set; }
	
		/// <summary>
		/// last_updated_by
		/// </summary>
		[Column("last_updated_by")]
		public long? LastUpdatedBy { get; set; }
	
		/// <summary>
		/// is_enabled
		/// </summary>
		[Column("is_enabled")]
		public string IsEnabled { get; set; }
	
		/// <summary>
		/// leader_id
		/// </summary>
		[Column("leader_id")]
		public string LeaderId { get; set; }
	
		/// <summary>
		/// name
		/// </summary>
		[Column("name")]
		public string Name { get; set; }
	
		/// <summary>
		/// icon_url
		/// </summary>
		[Column("icon_url")]
		public string IconUrl { get; set; }
	
		/// <summary>
		/// channel
		/// </summary>
		[Column("channel")]
		public string Channel { get; set; }
	
		/// <summary>
		/// product_count_thirty_days
		/// </summary>
		[Column("product_count_thirty_days")]
		public int? ProductCountThirtyDays { get; set; }
	
		/// <summary>
		/// promoter_count_thirty_days
		/// </summary>
		[Column("promoter_count_thirty_days")]
		public int? PromoterCountThirtyDays { get; set; }
	
		/// <summary>
		/// avg_commission_rate_thirty_days
		/// </summary>
		[Column("avg_commission_rate_thirty_days")]
		public decimal? AvgCommissionRateThirtyDays { get; set; }
	
		/// <summary>
		/// product_avgprice_thirty_days
		/// </summary>
		[Column("product_avgprice_thirty_days")]
		public decimal? ProductAvgpriceThirtyDays { get; set; }
	
		/// <summary>
		/// product_count
		/// </summary>
		[Column("product_count")]
		public int? ProductCount { get; set; }
	
	}
}